﻿using System;
using System.Reflection;

namespace ProjScan.Submodules.Effects_Play_Check
{
	// Token: 0x02000191 RID: 401
	internal class NamespaceValidator
	{
		// Token: 0x06000DB2 RID: 3506 RVA: 0x0003D630 File Offset: 0x0003B830
		public static bool CheckNamespaceExists(string targetNamespace)
		{
			bool result = false;
			foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies())
			{
				foreach (Type type in assembly.GetTypes())
				{
					bool flag = type.Namespace == targetNamespace;
					if (flag)
					{
						result = true;
					}
				}
			}
			return result;
		}
	}
}
